package com.baizhi.service;

import com.baizhi.entity.CmfzAlbum;
import com.baizhi.entity.CmfzArticle;
import org.apache.lucene.search.highlight.InvalidTokenOffsetsException;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import java.io.IOException;
import java.util.Map;

/**
 * Created by Administrator on 2019/4/9 0009.
 */
public interface CmfzArticleService {
    Map showAll(Integer page, Integer rows,String articleKeywords) throws IOException, InvalidTokenOffsetsException;

    Map add(MultipartFile picture, CmfzArticle cmfzArticle, HttpServletRequest request);
}
